<template>
    <div class="nav_bar">
        <ul>
            <li>尝试链接后端</li>
            <input type="primary" v-model="text"  style="font-size: 15px;line-height:2.5 ">
            <el-button @click="test" icon="el-icon-text" >测试</el-button>
        </ul>
    </div>
</template>

<script>
export default {
    data(){
        return{
            test:''
        }
    },
    method: {
        test(){
            this.$axios.post

        }
 
    }
}
</script>

<style scoped>

</style>